added double and negitive check to root and prompt for user