added autocomplete example
prepared for multiple examples
added debug
added multi dimensional example