anonymus function support added