Add more patterns and finish documenation