added spec, now to add functionality