Add function to get all the stages that haven't finished yet