added rgba manipulation