now creating data directory as well