custom opacity impl.

#24 impl.