removed extra loggind