added guard and spork for testing