execute method for running a statement without returning data