added code for filling out API lit(), seq(), alt()...