filled executePressed method