changed indents, ifxed bug with div