Added a solution for procedure stuff.