fixed bug
implemented stop()
proper handling of attributes
updated docs