method inheritance was clearly not working