changed graphics and fixed opacity bug