adapting style to the idiomaticjs