Adding sproc definition