adding stages logic
adding stages logic
working on adding stages
conflicts resolved