Issue#262 manual lending

closes #262

the logic will be implemented via another issue