init sample castle active record