Added rewrite

Signed-off-by: Yuri Tomanek <yuri@tomanek.com.au>