more debuging added