Edit: Stored procedure [in work]