all workign about to subtract bakground