added automatic indent on enter