changed to make alpha work right