added constructor with absolute coord's converting