added variable alpha, dont think its working yet