standardized the  functions to comply to parents methods