added enum to handle status for the page flipper