made getter generation work