create assignments