filling in more logic to test native