structuring frontend still