some controllers by Martin, little changes in JPSs