generalized door position