*beauty designed
function perfected