may be able to use this to auto generate