unsure of the current state of this code, going up so that it can be reviewed by others