added get_labs method