basic helper class functions