added alpha code