png length working