Add other if-statements for other stages