changed to fit my needs