hacky stuff for mark