Improve code for Ramisme

Signed-off-by: Ollie <dzineit@live.co.uk>