wrote more helper classes