added parameters instead of hardcoded values