initial half-assed pile of code