added compatibility

changed ALSHrequest function, improved styles