draft code added