cleaned up foot less code