bootstrap attribute support
can now change state constructor