added sin and cos