adding non-working api structure and indentation fixes