fixed basic bugs and added author details