ironed ou bugs, but have a Null Pointer