Defensive programming hw is done