getting states