lines 114 and 115 can be combined