simplified number check
adds view and css