add trait as object so render could work