basic functions for alignment score