working stuff...again
function call and type cast