first parts of static fields #280
more work on static fields #280
finished static fields for now #280