edited the correct way