created compressor class still not done with it though (need to add a
timer)