temp

ignore me
added option enum to addobject to specify the type to be added