write some funky code that needs to be re-written