altered to get a proper looking effect