added get all function