Added basic raet code