rough draft of execute functionality