added proper git ignore, changed method around