finally an image though buggy is there. removed useless confusing code