Support for fragments. tested