Basic structure of gem done