printing is not working properly...