works with single digits only, with error message for larger nums. Still need to add functionality for larger nums