px translation functions added