Implemented some domain functionality