move jsx to seperate file