removed 'parent' parameter from method definition