lets fix the copied code to follow coding standarts