Reformatted segment to comply with PEP8