this kind of does what i want. kind of