open spesen prgrammatically