pass methods properly