#4 added method to execute named queries