added appendRight, appendBottom methods