Implementation of function for specific return according to the sub
classes