simplify list get and set