added rotation attribute
some attribute improvements