added support for based literals