basic implementation of getlist and register