added select now to procedure