database procedure added