managing exceptions better