Added var for some varibles, made prompt return number