added basic word changing functionality