added getter to main