Removed execute because it wasn't complete and wasn't used. Changed logging to use printf syntax