omit both ends