Implemented the execution stuff