using boost functions instead of our own ones
added alps core line