got something working, but check function call arguments for scalar accesses