Implemented HEAD
Added null point check