Try proceeduralizing the parameter fetching