another way to handle it