Reformated code, basic settings