just doing it (this code smells horrible)