removed duplicate line and changed hardcoded values