application codes n cores