Added stylechecking code beginnings