added alpha variable