method definition fixes