changed getQueryInterval() to public
making execute() public for now
added timer