Modified stored procedures