include cstring for use of strlen