cleared the 2 warnings