hacky version of 27