started editing functions for defstruct addition