remove present? method and add logger to dependencies