cleaned up index and single page