improving frontend