changed constructor to accept width / height params