add alpha modifying code