Added RET functionality