add global identifiers; fix bug with allocating arguments
Merge remote-tracking branch 'origin/master'