adds basic functionality to LA.c UNTESTED