removed ntohl and htonl