added value checking; box not working