backend working of bakaplan