Added frontend functionality