object adding now works