updated code before attempt to databize