refactor pose init