cleaned up functions, changed excerpt length