considering execution resources as paramaters