first semi-working version, meta objects are not wroking