changed the last part