this was exactly what i was looking for