Adding execute method in Spec class