added main stubs