section 387 and 506 (2) of IPC