removing unnecessary handle variable