Added alpha
moved one line down for alpha
if else