Uncomment code for struct calls as it seems to work on actual device