annotations for inheritance