more code guidelines

Signed-off-by: Predrag Kanazir <predrag@arraystudio.com>