removed awk dependency