removed print lines which are no longer required