move aspec routines to utils