moving getPass into BaseClass