adjusted to fit my needs