My solution for BLS java patronage tasks