alpha calculation first try