slightly better get functionality