removes hardcoding