make application functional