replace hardcoded values with variables