added support for 64-bit architecture