refactor realm spec