updated front design and debuged