Added fragments but its very very buggy