Updated Procedure and return variables