decorated functions return proper values