I feel this exists somewhere already in common?