Changed syntax to CREATE PROCEDURE