added doc in code for sign