added sin-method