Added some methods to execute statements